        <div class="panel panel-default">
            <div class="panel-heading">短信验证 <span style="color:red;">短信验证手机号码的真实性</span></div>
			{if pdo_tableexists('dayu_sms')}
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择短信模板</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="smsid" class='form-control'>
							<option value="0">关闭短信</option>
							{loop $sms $s}
							<option value="{$s['id']}" {if $s['id'] == $activity['smsid']}selected="selected"{/if}>{$s['title']}</option>
							{/loop}
						</select>
                    </div>
                </div>
			</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">模式</label>
					<div class="col-sm-9 col-xs-12">
						<div class="btn-group" data-toggle="buttons">
							<label class="btn btn-default {if $par['smstype'] == 0}active{/if}"><input type="radio" name="smstype" value="0" {if $par['smstype'] == 0} checked="checked"{/if}>提交页内验证</label>
							<label class="btn btn-default {if $par['smstype'] == 1}active{/if}"><input type="radio" name="smstype" value="1" {if $par['smstype'] == 1} checked="checked"{/if} >跳转验证</label>
						</div>
						<span class="help-block">启用状态，未领取会员卡的粉丝跳转至领取会员卡页面</span>
					</div>
				</div>
			{/if}
        </div>
		<div class="panel panel-default">
            <div class="panel-heading">小票云打印机</div>
			{if pdo_tableexists('dayu_print')}
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择打印机</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="print" class='form-control'>
							<option value="0">关闭打印机</option>
							{loop $print $p}
							<option value="{$p['id']}" {if $p['id'] == $par['print']}selected="selected"{/if}>{$p['title']}</option>
							{/loop}
						</select>
                    </div>
                </div>
			</div>
			{/if}
        </div>
		 <div class="panel panel-default">
            <div class="panel-heading">打分评论</div>
			{if pdo_tableexists('dayu_comment')}
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择评论主题</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="comment" class='form-control'>
							<option value="0">关闭评论</option>
							{loop $comment $c}
							<option value="{$c['id']}" {if $c['id'] == $par['comment']}selected="selected"{/if}>{$c['title']}</option>
							{/loop}
						</select>
                    </div>
                </div>
			</div>
			{/if}
        </div>
		 <div class="panel panel-default">
            <div class="panel-heading">在线咨询</div>
			{if pdo_tableexists('dayu_consult')}
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择咨询主题</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="consult" class='form-control'>
							<option value="0">关闭咨询</option>
							{loop $consult $s}
							<option value="{$s['id']}" {if $s['id'] == $par['consult']}selected="selected"{/if}>{$s['title']}</option>
							{/loop}
						</select>
                    </div>
                </div>
			</div>
			{/if}
        </div>
		 <div class="panel panel-default">
            <div class="panel-heading">领取会员卡</div>
            <div class="panel-body">
				<div class="form-group">
					<label class="col-xs-12 col-sm-3 col-md-2 control-label">会员卡限制</label>
					<div class="col-sm-9 col-xs-12">
						<div class="btn-group" data-toggle="buttons">
							{if pdo_tableexists('dayu_card_fields')}
							<label class="btn btn-default {if $par['card'] == 2}active{/if}"><input type="radio" name="card" value="2" {if $par['card'] == 2} checked="checked"{/if} >【{$modules['dayu_card']['title']}】模块</label>
							{else}
							<span class="btn btn-default" disabled>【领取会员卡】模块</span>
							{/if}
							<label class="btn btn-default {if $par['card'] == 1}active{/if}"><input type="radio" name="card" value="1" {if $par['card'] == 1} checked="checked"{/if} >系统领取页面</label>
							<label class="btn btn-default {if $par['card'] == 0}active{/if}"><input type="radio" name="card" value="0" {if $par['card'] == 0} checked="checked"{/if}>关闭</label>
						</div>
						<span class="help-block">启用状态，未领取会员卡的粉丝跳转至领取会员卡页面</span>
					</div>
				</div>
			</div>
        </div>
		 <div class="panel panel-default">
            <div class="panel-heading">卡密验证</div>
			{if pdo_tableexists('dayu_kami')}
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择卡密分类</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="kami" class='form-control'>
							<option value="0">关闭卡密</option>
							{loop $kami $k}
							<option value="{$k['id']}" {if $k['id'] == $par['kami']}selected="selected"{/if}>{$k['title']}</option>
							{/loop}
						</select>
                    </div>
                </div>
			</div>
			{/if}
        </div>
		 <div class="panel panel-default">
            <div class="panel-heading">发送卡密</div>
			{if pdo_tableexists('dayu_sendkami')}
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">请选择卡密分类</label>
                    <div class="col-xs-12 col-sm-9">
						<select name="sendkami" class='form-control'>
							<option value="0">关闭卡密</option>
							{loop $sendkami $s}
							<option value="{$s['id']}" {if $s['id'] == $par['sendkami']}selected="selected"{/if}>{$s['title']}</option>
							{/loop}
						</select>
                    </div>
                </div>
			</div>
			{/if}
        </div>
		
		